package com.loansystem.service.admin;

import com.loansystem.bean.user.User;
import com.loansystem.bean.user.User_Loans_VO;
import com.loansystem.bean.user.User_Rule_VO;

import java.util.List;


public interface AdminService {

    //查寻所有贷款申请
    List<User_Loans_VO> loansInfo();
    //查询所有用户信息
    List<User_Rule_VO> userInfo();
    //模糊查询用户信息
    List<User_Rule_VO> getUserInfo(String user_mail,String user_name);
    //修改用户信息
    int updateUserInfo(User user);
    //添加用户信息
    int addUserInfo(User user);
    //删除用户信息
    int deleteUserInfo(Integer user_id);
    //修改用户贷款状态
    int updateLoansState(Integer loans_id,Integer loans_state);
}
